<%--
  Created by IntelliJ IDEA.
  User: 任意的爹
  Date: 2021/6/2
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>首页</title>
  </head>
  <body>
    <table>
        <tr>
          <th>id</th>
          <th>姓名</th>
          <th>年龄</th>
        </tr>
      <c:forEach items="${users}" var="a">
        <tr>
          <td>${a.id}</td>
          <td>${a.username}</td>
          <td>${a.age}</td>

        </tr>

      </c:forEach>

    </table>
  </body>
</html>
